#ifndef UTIL_H
#define UTIL_H

#include "crossbit/common.h"

namespace crossbit{
		class UTIL{
				private :
						UTIL(){};
				public:
						static void XTLOG(const XTPStr, ...);

						static  XTUint32 XTStrlen( const XTPStr str);

						static void XTStrcpy( XTPStr to , const XTPStr from );
						static XTPStr XTStrcat( XTPStr dest , const XTPStr src );

						static void XTMemcpy( void* to , const void* from , XTUint32 size );
						static void* XTMemset( void* s , XTInt32 c , XTUint32 size );

						static void* XTMalloc( XTUint32 size );

						static void XTFree( void* addr );

		};
}

#endif
